package org.dtrd.modules.record.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.record.entity.bean.AvgBloodPressure;
import org.dtrd.modules.record.entity.po.DtrdViewRlDailyGroupBloodPressure;

/**
 * @author 萧
 * @date 2021-12-05 09:30:04
 **/
public interface IDtrdViewRlDailyGroupBloodPressureService extends IService<DtrdViewRlDailyGroupBloodPressure> {

    /**
     * 查询时间段内血压平均值
     *
     * @param patientId
     * @param startDate
     * @param endDate
     * @return
     */
    AvgBloodPressure getAvgBloodPresssure(Integer patientId, String startDate, String endDate);
}
